import './Index.scss';
import { Outlet } from 'react-router-dom';
import ChatSidebar from './_component_/ChatSidebar';

import routes from './routes';

export default () => {
    return (
        <div className="chat-module">
            <div className='chat-sidebar'>
                <ChatSidebar data={routes} />
            </div>
            <div className='chat-routes'>
                <Outlet />
            </div>
        </div>
    );
}